package com.yl.auth.service.impl;

import com.yl.auth.entity.Ruyuanguanli;
import com.yl.auth.mapper.RuyuanguanliMapper;
import com.yl.auth.service.RuyuanguanliService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author L
 * @since 2023-07-26
 */
@Service
public class RuyuanguanliServiceImpl extends ServiceImpl<RuyuanguanliMapper, Ruyuanguanli> implements RuyuanguanliService {
    @Resource
    private RuyuanguanliMapper ruyuanguanliMapper;

    @Override
    public List<Ruyuanguanli> getruyuan(Long id) {
        return ruyuanguanliMapper.getruyuan(id);
    }
}
